@import "../../../../style/color.scss";
@import "../../../../style/domain.scss";
@import "../../../../style/font.scss";
@import "../../../../style/mixin.scss";

.shian-map-page {
  overflow: hidden;
  *zoom: 1;

  .side-wrap {
    float: right;
    width: 402px;
    height: $side-menu-height;
    box-sizing: border-box;
    background: url("./../../../../../images/page/right_menu_bg.png") no-repeat;
    background-size: 402px 100%;

    .side-content {
      width: 100%;
      height: 100%;

      .title {
        height: 50px;
        line-height: 50px;

        >span {
          display: inline-block;
          width: 50%;
          text-align: center;
          font-family: $regular-font-family;
          font-size: 22px;
          color: #FFFFFF;
          text-shadow: 0 0 4px rgba(255,255,255,0.50);
          border-bottom: solid 1px $form-border-color;

          &:hover{
            cursor: pointer;
          }
        }

        .tab-select {
          background-color: $tab-select-bg;
        }
      }

      .menu-content {
        height: 324px;
      }
      .organize-margin{
        margin-top: 160px;
      }
      .record-wrap {
        .title {
          height: 50px;
          line-height: 50px;
          background-color: rgba(0, 217, 255, 0.5);
          padding-left: 20px;
          font-family: $regular-font-family;
          font-size: 22px;
          color: #FFFFFF;
          text-shadow: 0 0 4px rgba(255,255,255,0.50);
          .title-more{
            float: right;
            right: 20px;
            font-size: 18px;
            color: #FFFFFF;
            margin: 0 10px 0 0;
            display: inline-block;
          }
        }
        .content {
          overflow: auto;
          scrollbar-face-color:$form-border-color;
          scrollbar-arrow-color: $form-border-color;
          scrollbar-shadow-color:$form-border-color;
          scrollbar-dark-shadow-color:$form-border-color;
          scrollbar-base-color: $form-border-color;
          height: 70px;

          .record {
            padding: 10px 20px 0;

            >span {
              display: inline-block;
              font-family: $regular-font-family;
              font-size: 20px;
              color: #FFFFFF;
              letter-spacing: 1px;
              line-height: 30px;
              text-shadow: 0 0 4px rgba(255,255,255,0.50);
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
            }

            & > span:first-child {
              width: 80%;
            }
            & > span:last-child {
              width: 20%;
            }

            .result {
              float: right;
              color: $map-record-result;
            }
          }
        }
        .organize-height{
          height: 290px;
        }
        .info {
          border-top: solid 1px $form-border-color;
          color: #ffffff;
          padding: 10px  20px;
          font-family: $regular-font-family;
          font-size: 20px;
          letter-spacing: 1px;
          line-height: 30px;
          text-shadow: 0 0 4px rgba(255,255,255,0.50);

          .item {
            padding-bottom: 10px;
          }
        }

      }
    }

  }

  /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
  ::-webkit-scrollbar
  {
    width: 10px;
    height: 10px;
    background-color: transparent;
  }

  /*定义滚动条轨道 内阴影+圆角*/
  ::-webkit-scrollbar-track
  {
    -webkit-box-shadow: inset 0 0 6px transparent;
    //  border-radius: 10px;
    background-color: transparent;
  }

  /*定义滑块 内阴影+圆角*/
  ::-webkit-scrollbar-thumb
  {
    // border-radius: 10px;
    border-radius: 0;
    -webkit-box-shadow: inset 0 0 6px $form-border-color;
    background-color: $form-border-color;
  }

  .map {
    margin-right: 418px;
    height: 787px;
    padding: 28px 32px;
    box-sizing: border-box;
    background:
      url("./../../../../../images/page/map_b_l1.png") no-repeat top left,
      url("./../../../../../images/page/map_b_r1.png") no-repeat top right;
    background-size: 263px 100%;

    > div {
      width: 100%;
      height:100%;
      border:solid 1px $button-normal-background-color;
    }
  }

  .tdt-infowindow-tip-container {
    width: 0;
    height: 0;
  }

  .tdt-infowindow-content-wrapper, .tdt-infowindow-tip {
    background-color: transparent;
    box-shadow: none;
  }

  .tdt-infowindow-content-wrapper {
    padding: 0;
  }

  .tdt-container a.tdt-infowindow-close-button {
   // display: none;
  }

  .tdt-container a.tdt-infowindow-close-button {
    top: 30px;
    right: -80px;
  }

}
//信息窗口
.info-window-wrap {
  @include dashed-border();
  background-color: rgba(0,138,255,0.30);
  padding: 12px;
  width: 430px;

  .content {
    background-color: $info-window-bg;
    padding: 16px;

    .title {
      font-family: $regular-font-family;
      font-size: 22px;
      color: #FFFFFF;
      letter-spacing: 0;
      img {
        width: 50px;
        height: 50px;
      }

      >div {
        display: inline-block;
      }

      & > div:last-child {
        width: 80%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }

    .item {
      font-family: $medium-font-family;
      font-size: 18px;
      color: #FFFFFF;
      letter-spacing: 0;
      margin-top: 8px;

      >span:first-child {
        display: inline-block;
        margin-right: 10px;
      }
    }

    .map-img {
      cursor: pointer;
    }
  }
}

// 企业
.business {

  .business-padding {
    padding: 20px;
  }
  .search {
    margin: auto;
    position: relative;

    .ant-input {
      height: 40px;
      width: 100%;
      border: solid 1px $form-border-color;
      border-radius: 0;
      font-family: $regular-font-family;
      font-size: 20px;
      color: $form-font-color;
      letter-spacing: 1px;
      background-color: transparent;

      &::placeholder {
        color: $search-input-color;
      }
    }

    .anticon-search:before {
      color: $form-font-color;
    }

    .ant-input-search-icon {
      font-size: 20px;
    }

    .search-content {
      margin-right: -1px;
      height: 160px;
      overflow: auto;
      position: absolute;
      top: 50px;
      left: 0;
      right: 0;
      background-color: $select-dropdown-item-background-color;
      border: solid 1px $form-border-color;
      z-index: 999999;
      color: #ffffff;
      scrollbar-face-color:$form-border-color;
      scrollbar-arrow-color: $form-border-color;
      scrollbar-shadow-color:$form-border-color;
      scrollbar-dark-shadow-color:$form-border-color;
      scrollbar-base-color: $form-border-color;

      >div {
        height: 40px;
        line-height: 40px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 18px;

        &:hover {
          cursor: pointer;
          background-color: $select-dropdown-item-hover-color;
        }
      }
    }
  }

  .select {
    height: 40px;
    margin-top: 14px;

    .ant-select-selection--single {
      height: 40px;
      line-height: 40px;
      font-size: 20px;
    }

    .ant-select-selection__rendered {
      line-height: 50px;
    }

    .ant-select-selection__placeholder, .ant-select-search__field__placeholder {
      color: $search-input-color;
    }

    .ant-select-selection-selected-value {
      height: 40px;
      line-height: 40px;
    }
  }

  .menu {
   // padding-top: 20px;
    width: 100%;
    height: 200px;
    overflow: auto;

    scrollbar-face-color:$form-border-color;
    scrollbar-arrow-color: $form-border-color;
    scrollbar-shadow-color:$form-border-color;
    scrollbar-dark-shadow-color:$form-border-color;
    scrollbar-base-color: $form-border-color;

    //menu
    .ant-menu {
      background-color: transparent;

      .ant-menu-item {
        height: 42px;
        line-height: 42px;
      }

      .ant-menu-submenu-inline > .ant-menu-submenu-title:after {
        content: '';
      }

      >.ant-menu-item-active,
      >.ant-menu-item-selected{
        background-color: $side-menu-color;

        >span{
          color: #ffffff;
        }
      }
    }

    .ant-menu-inline, .ant-menu-vertical {
      border-right: solid 1px transparent;
    }

    .ant-menu-inline .ant-menu-item:after, .ant-menu-vertical .ant-menu-item:after {
      border-right: none;
    }

    .label {
      font-family: $regular-font-family;
      font-size: 20px;
      color: #FFFFFF;
      letter-spacing: 0;
    }

    .sub-label {
      font-family: $regular-font-family;
      font-size: 18px;
      color: #FFFFFF;
      letter-spacing: 0;
    }
  }

  /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
  ::-webkit-scrollbar
  {
    width: 10px;
    height: 10px;
    background-color: transparent;
  }

  /*定义滚动条轨道 内阴影+圆角*/
  ::-webkit-scrollbar-track
  {
    -webkit-box-shadow: inset 0 0 6px transparent;
    //  border-radius: 10px;
    background-color: transparent;
  }

  /*定义滑块 内阴影+圆角*/
  ::-webkit-scrollbar-thumb
  {
    // border-radius: 10px;
    border-radius: 0;
    -webkit-box-shadow: inset 0 0 6px $form-border-color;
    background-color: $form-border-color;
  }

}
